import request from '@/utils/request'

export function list() {
  return request({
    url: '/code/history/list',
    method: 'post'
  })
}

export function add(data) {
  return request({
    url: '/code/history/add',
    method: 'post',
    data: data
  })
}
